set title "Figure 3, delay vs. Maxthresh" 

set ylabel "Delay (seconds)"
set xlabel "maxthresh"
set xrange [0:15]
set yrange [0:0.001]
unset label

set terminal jpeg

plot "figure2.dat" using 1:2 with linespoints title 'RED'
set output "figure3_delay.jpg"
replot
